<html>

<head>
	<meta charset="UTF-8"> 
	<script type="text/javascript">
		function init(){
			alert('body onload事件');
		}
	</script>
    <title>onload事件</title>
</head>

<body onload="init();">
	<p>onload事件绑定示例</p>
</body>

</html>
